package com.yznote.cloudesk.manage.database.mapper;

import com.yznote.cloudesk.manage.database.pojo.Column;
import com.yznote.cloudesk.manage.database.pojo.Table;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;

@Mapper
@Component
public interface DataBaseMapper {
    // 获取所有表
    List<String> queryTables();
    List<Table> queryTablesAndDetails();
    List<Column> queryTableColumn(String tableName);
}
